#include <iostream>
#include <string>
#include "Person.h"
#include "Student.h"
using namespace std;
using namespace model;

int main(int argc, char *argv[])
{
    Person *p1 = new Person("张三", 23);
    cout << p1->toString() << endl;

    Student *s1 = new Student("三年二班", "学生", 13);
    cout << s1->toString() << endl;

    Person *s = new Person();
    cout << s->toString() << endl;

    delete p1;
    delete s1;
    delete s;
}